weight = float(input("请输入快递重量："))

print('编号01：华东地区 编号02：华南地区 编号03：华北地区')

place = input("请输入地区编号：")

if weight <= 2:

    if place == '01':

        print('快递费为13元')

    elif place == '02':

        print('快递费12元')

    elif place == '03':

        print('快递费14元')

else:

    excess_weight = weight - 2

    if place == '01':

        many = excess_weight * 3 + 13

        print('快递费为%.1f元' % many)

    elif place == '02':

        many = excess_weight * 2 + 12

        print('快递费为%.1f元' % many)

    elif place == '03':

        many = excess_weight * 4 + 14

        print('快递费为%.1f元' % many)
